package com.hl.sfzy.mapper;

import com.hl.sfzy.entity.Publicity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author lin
* @description 针对表【publicity(资讯公告)】的数据库操作Mapper
* @createDate 2025-03-07 19:58:38
* @Entity com.hl.sfzy.entity.Publicity
*/
@Mapper
public interface PublicityMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Publicity record);

    int insertSelective(Publicity record);

    Publicity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Publicity record);

    int updateByPrimaryKey(Publicity record);

    List<Publicity> selectAll(Publicity publicity);
    int deleteBatch(List<Long> ids);
}
